package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 延误险信息表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_delayrisk")
@TableAlias("delayrisk")
@ApiModel(value = "BusDelayrisk对象", description = "延误险信息表")
public class BusDelayrisk extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "delayriskId", type = IdType.ASSIGN_ID)
    private Long delayriskId;

    @ApiModelProperty(value = "理赔编号")
    private String delayriskNo;

    @ApiModelProperty(value = "物品Id")
    private Long goodsId;

    @ApiModelProperty(value = "被保险人数量")
    private Integer insurantNumber;

    @ApiModelProperty(value = "未成年人数量")
    private Integer minorNumber;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "预约者")
    private Long userId;

    @ApiModelProperty(value = "订单详情Id")
    private Long orderdetailId;

    @ApiModelProperty(value = "是否申请理赔(1否，2是）")
    private Integer isApply;

    @ApiModelProperty(value = "(预约状态0待审核，1 成功，2 失败)")
    private Integer appointmentState;

    @ApiModelProperty(value = "延误险理赔审核状态（1审核中，2审核通过，3审核拒绝）")
    private Integer isCheck;

    @ApiModelProperty(value = "理赔申请日期")
    private String applyDate;

    @ApiModelProperty(value = "理赔数量")
    private Integer applyNum;

    @ApiModelProperty(value = "(预约来源1商城购买，2会员卡权益使用)")
    private Integer soureType;

    @ApiModelProperty(value = "理赔处理时间")
    private String handleDate;


}
